<%--
  Created by IntelliJ IDEA.
  User: corcutt
  Date: Mar 17, 2009
  Time: 6:33:59 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<html>
<head>
    <title>Login to FourH Events</title>
    <style type="text/css">
        .errorHeader {
            width: 400px;
            color: red;
            border: 1px solid black;
            text-align: center;
            font-weight: bold;
            margin: 5px
        }
    </style>
</head>
<body onload="disableAllLink()">
<%@ include file="header.jspf" %>
<c:if test="${not empty error}">
    <div class="errorHeader">${error}</div>
</c:if>


<form:form modelAttribute="volunteer">
    <table>
        <tr>
            <td>Email:</td>
            <td><form:input path="email" autocomplete="false"/></td>
        </tr>
        <tr>
            <td>Password:</td>
            <td><form:password path="password"/></td>
        </tr>
        <br/>
        <tr align="center">
            <td colspan="2" valign="center">
                <input type="submit" value="Enter">
            </td>
        </tr>
    </table>
</form:form>

<p>Don't have an account? Create one <a href="createVolunteer">here</a>.</p>
<%@ include file="footer.jspf" %>
</body>
</html>